@import './_var.scss';
// 标题
.panel-title {
  height: 52px;
  line-height: 52px;
  padding: 0 20px;
  background: #f7f7f7;
  text-align: center;
  h3 {
    font-size: 14px;
  }
}

// 内容区域
.panel {
  padding: 30px;
  word-break: break-all;
  background: #fff;
}

// 普通容器
.m-panel-wrap {
  margin-top: 30px;
  // box-shadow: 0 0 7px 0 rgba(12, 60, 12, 0.1);
  overflow: hidden;
}

// 浮层弹框
.g-panel-fixed {
  box-shadow: 0 0 10px 0 rgba(12, 6, 12, 0.1);
  background: #fff;
  overflow: hidden;
  .mask {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 20;
    background: rgba(0,0,0,.2);
  }
  .panel-title {
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    background: $color-main;
    color: #fff;
    font-size: 16px;
    .panel-close {
      width: 20px;
      height: 20px;
      margin-top: 5px;
      cursor: pointer;
    }
  }
  .m-panel-wrap {
    position: fixed;
    left: 55%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 21;
    overflow: hidden;
  }
  .panel-scroll {
    position: absolute;
    left: 0;
    right: 0;
    top: 40px;
    bottom:  62px;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .btn-group {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 62px;
    line-height: 62px;
    border-top: 1px solid #f7f7f7;
    text-align: center;
    background: #fff;
    button {
      vertical-align: middle;
    }
  }
}